<?php

namespace App\Http\Controllers\Ajax;

use App\Common\Constant\Params;
use App\Libs\Filter\Filter;
use App\Models\Master;
use App\Models\Merchant;
use App\Services\IMerchantService;
use Illuminate\Http\Request;

/**
 * 师傅相关
 * Class MerchantController
 * @package App\Http\Controllers
 */
class MasterController extends BaseController
{
    /**
     * 用户详情
     * @param Request $request
     */
    public function detail(Master $master,Request $request)
    {
        return view('master/detail',['master'=>$master]);
    }

    public function wallet(Master $master,Request $request)
    {
        $master->load(['wallet']);
        return view('master/wallet',['master'=>$master]);
    }

}
